|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPER.rover.Log
A human-readable output log for the rover. Any string printed to the log file will be prefaced by a time stamp. Other than the time stamp, strings do not have any special format requirements.
Constructor Summary | |
Log()
Creates a new instance of Log |
Method Summary | |
static void |
initLogFile(java.lang.String name)
Initializes the log file with the given name. |
static void |
initLogFile(java.lang.String name,
javax.swing.JTextArea textArea)
Initializes the log file with the given name and associated JTextArea. |
static void |
print(java.lang.String str)
Print a string to the logfile. |
static void |
print(java.lang.String str,
boolean printToConsole)
Print a string to the logfile. |
static void |
println(java.lang.String str)
Print a line to the logfile |
static void |
println(java.lang.String str,
boolean printToConsole)
Print a line to the logfile. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Log()
Method Detail |
public static void initLogFile(java.lang.String name)
public static void initLogFile(java.lang.String name, javax.swing.JTextArea textArea)
public static void println(java.lang.String str)
public static void println(java.lang.String str, boolean printToConsole)
public static void print(java.lang.String str)
public static void print(java.lang.String str, boolean printToConsole)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |